package com.neuedu.it.newidea.web.dto;

import com.fasterxml.jackson.annotation.JsonPropertyDescription;

//作品的查询请求，包含标题关键词和分类名称
public class CreationSearchRequest {
    @JsonPropertyDescription("Optional keyword to search for in creation titles.")
    private String titleKeyword;
    @JsonPropertyDescription("Optional name of the category (e.g., '小说', '诗歌') to filter creations.")
    private String categoryName;

    public String getTitleKeyword() {
        return titleKeyword;
    }

    public void setTitleKeyword(String titleKeyword) {
        this.titleKeyword = titleKeyword;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}